package com.lx.testdemo;

import com.lx.generics.Arraylist;

public class test {
    public static void main(String[] args) {

    }

    public static void keeppet(Arraylist<? extends cat> list)
    {

    }
    public static void  keeppet02(Arraylist<? extends dog> arraylist)
    {

    }
    public static void keeppet03(Arraylist<? extends animal> arraylist)
    {

    }


}
